package com.yanmaohu.nikita.data.function.statement;

import com.yanmaohu.nikita.data.expression.NameExpression;

/**
 * @author Bright Lee
 */
public final class GotoStatement extends Statement {

    private NameExpression label;

    public GotoStatement(int beginIndex, int endIndex, NameExpression label) {
        super(beginIndex, endIndex);
        this.label = label;
    }

    public NameExpression getLabel() {
        return label;
    }

}
